﻿using Newtonsoft.Json;

namespace Hx.ADSyncPlatform.SSO.Model
{
    public class BaseModel
    {
        [JsonProperty("error")]
        public string Error { get; set; }

        [JsonIgnore]
        public bool Success => string.IsNullOrEmpty(this.Error);
    }
}
